<!--
  Generated template for the CommentdisesPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

    <ion-navbar color="primary" text-center>
      <ion-title>评论</ion-title>
    </ion-navbar>

  </ion-header>


  <ion-content padding>

    <ion-list >
      <ion-item text-wrap *ngFor="let item of prodcommentlist" >
        <strong>{{item.username}}:</strong> {{item.content}}
      </ion-item>
    </ion-list>

  </ion-content>
  <ion-footer>
      <div class="send" padding>
          <ion-grid>
            <ion-row>
              <ion-col col-80>
                <ion-textarea #textaream  class="sendinput" [(ngModel)]="content"></ion-textarea>
              </ion-col>
              <ion-col col-20>
                <button ion-button block (click)="addcomment()" >发送</button>
              </ion-col>
            </ion-row>
          </ion-grid>
        </div>
  </ion-footer>
